const Koa = require('koa');
const app = new Koa();
const Router = require('koa-router')
const router = new Router({
    prefix:'/api'   //路由前缀
})

const houseSearch = require('./router/mhList/hot')
router.use('/mhList',houseSearch.routes())

app.use(router.routes())

app.listen(3001);

